package com.stoken.dao;

import org.springframework.stereotype.Repository;

import com.stoken.domain.MemberShopWallet;
import com.stoken.domain.MemberWallet;
import com.symbio.dao.hibernate.GenericDaoImpl;

@Repository("memberWalletShopDao")
public class MemberShopWalletDao extends GenericDaoImpl<MemberShopWallet, Long> {
	
	public MemberShopWallet getMemberWalletByUserName(String userBaseName){
		return this.find("from MemberShopWallet where baseUsername.baseUsername = ?", new Object[]{userBaseName});		
	}
}
